<template>
  <div class="menu-bar-root-container">
    <div class="menu-bar-root-left">
      <BackButton />
    </div>
    <div class="menu-bar-root-right">
      <NextButton :beforeNext="checkBeforeNext" />
    </div>
  </div>
</template>

<script setup>
import usePlanningStore from "@/stores/planningStore.js";
import BackButton from "../components/BackButton.vue";
import NextButton from "../components/NextButton";

const planningStore = usePlanningStore();

const checkBeforeNext = () => {
  return false;
  // if (planningStore.selectedStaffs.length > 0) return true;
  // ElMessage.error("请先选择值班人员");
  // return false;
};
</script>

<style scoped>
@import "../styles/MenuBar.css";
</style>
